package de.uniwue.cs.ir.common;

import java.io.File;

public class Config {
	/**
	 * Corpus-Ordner relativ zum Classpath.
	 */
	public static final String CORPUS_DIR = "text";
	
	public static File getCorpusDir() {
		return getResource(CORPUS_DIR);
	}
	
	public static File getResource(String path) {
		String file = Config.class.getClassLoader().getResource(path).getFile();
		return new File(file);
	}
}
